.order-item {
    background: $color-white;
    border-radius: 10rpx;
    position: relative;
    margin: 20rpx $app-page-padding;
    // margin-bottom: 20rpx;

    .order-item-top {
        padding: $app-page-padding;
        border-bottom: solid 1rpx $uni-bg-color-grey;
        display: flex;
        flex-direction: column;

        .order-desc-text:first-child {
            margin-bottom: 10rpx;
        }
    }

    .order-item-main {
        padding: $app-page-padding;
        border-bottom: solid 1rpx $uni-bg-color-grey;
        display: flex;
        flex-direction: row;
        align-items: center;

        .order-item-imgs {
            display: flex;
            flex: 1;
            flex-direction: row;

            .img-item {
                position: relative;
                margin-right: 15rpx;

                .order-item-img {
                    display: flex;
                    width: 120rpx;
                    height: 120rpx;
                    // border: 1px solid $app-color-main;
                    border-radius: 10rpx;
                }

                .text-num {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    height: 40rpx;
                    border-bottom-left-radius: 10rpx;
                    border-bottom-right-radius: 10rpx;
                    color: $color-white;
                    background: rgba($color-black, 0.3);
                    font-size: $font-size-24;
                }
            }
        }

        .icon {
            color: red;
        }
    }

    .order-item-price {
        padding: 0 $app-page-padding;
        border-bottom: solid 1rpx $uni-bg-color-grey;
        display: flex;
        flex-direction: row;
        height: 100rpx;
        line-height: 100rpx;

        .order-desc {
            text {
                margin-right: 20rpx;
            }
        }

        .order-price {
            display: flex;
            flex: 1;
            justify-content: flex-end;

            text {
                color: $app-color-text-main;
                font-size: $font-size-24;
            }

            .price-text {
                font-weight: 700;
                margin-left: 20rpx;
                color: $color-orange-1;
                font-size: 32rpx;
            }
        }
    }

    .order-item-bottom {
        padding: $app-page-padding;
    }

    .order-state {
        padding: 0 $app-page-padding;
        height: 48rpx;
        font-size: $font-size-24;
        color: $color-white;
        background: $color-yellow-1;
        position: absolute;
        right: -10rpx;
        top: 30rpx;
        z-index: 2;
        border-radius: 24px 0px 0px 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        &:after {
            content: "";
            position: absolute;
            right: 0rpx;
            top: 48rpx;
            width: 0;
            height: 0;
            border-top: 10rpx solid $color-yellow-2;
            border-right: 10rpx solid transparent;
            z-index: 1;
        }
    }

    .order-desc-text {
        font-size: $font-size-24;
        color: $app-color-text-desc;
    }
}
.order-name {
    font-size: $font-size-28;
    color: #333333;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.order-kind {
    font-size: $font-size-20;
    color: $color-gray-3;
}
